Pagination Result
fun <T> PaginationResult( page: Int, results: List<T>, pagesNumber: Int, size: Int)
Content copied to clipboard
fun <T> PaginationResult( page: Int, size: Int, results: List<T>, objectsNumber: Long)
Content copied to clipboard
Parameters
page
Current page number
size
Current page size. It can be greater than size of results
results
Result objects
objects Number
Count of all objects across all pages